package com.small.view;

import java.util.ArrayList;
import java.util.List;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import com.small.R;

public class YhqHome_listAda extends BaseAdapter{

	List<String> list; 
	LayoutInflater li;
	public YhqHome_listAda(Context co){
		this.li=LayoutInflater.from(co);
		list = new ArrayList<String>();
		list.add("清除缓存");
	}
	
	@Override
	public int getCount() {
		// TODO Auto-generated method stub
		return list.size();
	}

	@Override
	public Object getItem(int position) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public long getItemId(int position) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public View getView(int position, View convertView, ViewGroup parent) {
		// TODO Auto-generated method stub
		convertView=null;
		convertView=li.inflate(R.layout.activity_discountinfo_list_item, null);
		return convertView;
	}

}
